<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>消息浏览</title>
    <link rel="stylesheet" href="/assets/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="/assets/bootstrap-table/src/bootstrap-table.css">
    <link rel="stylesheet"
          href="https://cdn.bootcss.com/x-editable/1.5.1/bootstrap-editable/css/bootstrap-editable.css">
    <link rel="stylesheet" href="/assets/examples.css">
    <script src="/assets/jquery.min.js"></script>
    <script src="/assets/bootstrap/js/bootstrap.min.js"></script>
    <script src="/assets/ga.js"></script>
    <link href="/css/style.css?v=4.1.0" rel="stylesheet">
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="//cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.min.js"></script>
    <script src="//cdnjs.cloudflare.com/ajax/libs/json2/20140204/json2.min.js"></script>
    <![endif]-->
</head>
<body class="gray-bg">
<div class="col-sm-12" style="margin-top: 30px">
    <div class="col-sm-11">
        <P style="width: auto;float: right;"><span class="label label-primary">{{.Type}}</span></P>
    </div>
</div>
<div class="col-sm-1"></div>
<div class="col-sm-10">
    <div class="ibox float-e-margins" style="">
        <div class="ibox-title">
            <h5>消息内容</h5>
        </div>
        <div class="ibox-content">
            <p>{{.Messages.Addonfileds1}}</p>
        </div>
    </div>
</div>

<div class="col-sm-12" style="margin-top: 30px">
    <div class="col-sm-11">
        <P style="width: auto;float: right"><span>{{date .Messages.MessagesTime "Y-m-d H:i:s"}}</span></P>
    </div>
</div>
<div class="col-sm-12" style="margin-top: 30px">
    <div class="col-sm-1"></div>
    <div class="col-sm-3">
        <button class="btn btn-info" onclick="goback()">返回</button>
    </div>
</div>

<script src="/js/jquery.min.js?v=2.1.4"></script>
<script src="/js/bootstrap.min.js?v=3.3.6"></script>
<!-- jQuery UI -->
<script src="/js/jquery-ui-1.10.4.min.js"></script>
<!-- laydate js -->
<script src="/js/plugins/layer/laydate/laydate.js"></script>
<script src="/js/content.js?v=1.0.0"></script>
<script>
    function goback() {
        window.history.back();
    };
    $(document).ready(function(){
        $.post("/message/read",{"Id":{{.Messages.Id}}},function(data) {

        });
    });
</script>
</body>
</html>